home *** CD-ROM | disk | FTP | other *** search
- package com.sun.java.swing.plaf.metal;
-
- import java.beans.PropertyChangeEvent;
- import java.beans.PropertyChangeListener;
- import java.io.Serializable;
-
- class MetalInternalFrameUI$PaletteListener implements PropertyChangeListener, Serializable {
- // $FF: synthetic field
- MetalInternalFrameUI this$0;
-
- public void propertyChange(PropertyChangeEvent e) {
- String name = e.getPropertyName();
- if (name.equals(MetalInternalFrameUI.IS_PALETTE)) {
- if (e.getNewValue() != null) {
- this.this$0.setPalette((Boolean)e.getNewValue());
- } else {
- this.this$0.setPalette(false);
- }
- }
-
- }
-
- // $FF: synthetic method
- MetalInternalFrameUI$PaletteListener(MetalInternalFrameUI this$0) {
- this.this$0 = this$0;
- }
- }
-